#ifndef PLAYER_H
#define PLAYER_H

#include "GameObject.h"
#include "Vec3.h"
#include "OOBB.h"

#include <D3DX11.h>
#include <D3DX10math.h>

class Player : public GameObject
{
public:
	Player();

	void Update() override;
	void Draw() override;

	void StopAddingVel();

	virtual bool Load(File* f) override;
	virtual const char* GetTypeName() const override;

	void AddForce(const D3DXVECTOR3& force);
	const D3DXVECTOR3& GetForce() const;
private:
	D3DXVECTOR3 m_pos;
	//float m_vel;
	//
	//bool m_addVel;
	////Vec3f m_pos;
	//float m_size;
	bool m_collided;
};

#endif // PLAYER_H